package com.mytx.mapper;

import com.mytx.pojo.MyFile;
import com.mytx.pojo.MyFileExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MyFileMapper {
    /**
     * 批量插入
     *
     * @param myFiles
     */
    void insertBatch(List<MyFile> myFiles);

    /**
     * 批量更新
     * @param remoteFileList
     */
    void updateBatch(List<MyFile> remoteFileList);

    //===========================分界线=====================================

    int countByExample(MyFileExample example);

    int deleteByExample(MyFileExample example);

    int deleteByPrimaryKey(String id);

    int insert(MyFile record);

    int insertSelective(MyFile record);

    List<MyFile> selectByExample(MyFileExample example);

    MyFile selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") MyFile record, @Param("example") MyFileExample example);

    int updateByExample(@Param("record") MyFile record, @Param("example") MyFileExample example);

    int updateByPrimaryKeySelective(MyFile record);

    int updateByPrimaryKey(MyFile record);

}